package com.shemy.sshiro.service;

import com.shemy.sshiro.domain.SysMenu;
import com.shemy.sshiro.domain.SysRole;

import java.util.List;

/**
 *  菜单Service
 * @author Dzsom
 * @date 2019-05-09 10:56
 */
public interface SysMenuService{

    int deleteByPrimaryKey(Integer menuId);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Integer menuId);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);

    List<SysMenu> findAllByRoles(List<SysRole> roles);

}
